import vue from 'vue'
import vuex from 'vuex'
import mutations from './mutations'
import actions from './action'
vue.use(vuex)

const state={
    username:'',
    cartCount:0,
    uid :0 
}
export default new vuex.Store({
    state,
    mutations,
    actions
});